Using AI to Develop a Language for Contemporary Islamic Architecture
By Zain Mankani
The question of the formal language of Islamic Architecture is a difficult and pressing problem today for architects who are engaged in projects where it is desirable, if not imperative, to use architecture as a vehicle for the expression of faith. Or, what is perhaps more correct, it is an essential question for architects for whom the Islamic faith is an essential component of every form of expression; whose thinking has grown out of the belief system, which in turn is an important aspect of their weltanschauung. Every word, every expression is like a tree – and every tree has roots going into the earth. These roots represent the ideology behind the word that comes to light and is seen by the beholders.
As the Quran states,
Have you not considered how Allah sets forth a parable of a good word (being) like a good tree, whose root is firm and whose branches are in heaven, Yielding its fruit in every season by the permission of its Lord? And Allah sets forth parables for men that they may be mindful.
And the parable of an evil word is as an evil tree pulled up from the earth’s surface; it has no stability. Hence, a good word or expression is rooted in a strong ideology. Like the tree that consistently bears fruit in every season, the good word, rooted firmly, expresses itself consistently.



Kalima (word) in the above verses has a wide meaning and can include all existents, since all creation is the word of God . The defining feature of Kalimatan tayyibah (a goodly word) is its consistency . Though the goodly word is “usually interpreted as he divine word, thought or deed, but, in a more general sense, it may be interpreted as a thought, word or deed of goodness of any other good and noble agency, other than Allah, which emanates from a true understanding and application of the religion of Allah” .
Islamic Architecture, which is the expression of a thought conceptualized by a Muslim Architect, based on a true understanding of the religion of Allah, is like the goodly word. And this expression should be such that it bears fruit in every season. Islamic Architecture is not a thing of the past, nor is it to be associated with a bygone era. Rather, it must be something evergreen, and consistently revealing itself in built form.
In fact, this very feature of the goodly word allows us to logically conclude that what is truly “Islamic” in what we consider to be “Islamic Architecture” is that which transcends time and culture (which changes with time).
Hence, when we rename “Islamic Architecture” as “Muslim Architecture” we should do so not only on the grounds that such architecture is not based on the ideology of Islam (being instead the expression of individuals or communities that subscribed to the faith), but also on the basis that it is not transcendent. And this distinction is important because we can use it to discriminate those aspects of the architecture that are indeed transcendent, and which may therefore be included in a compilation of architectural features or practices that could very well be termed “Islamic”.




As things stand today, many of the elements that are associated with Islamic Architecture are those that were the product of a particular era or culture, and which are often not specific to Muslim cultures. For example, domes are simply structural devices that allowed for larger spans in load-bearing buildings. However, we see that these continue to be used today in religious buildings in Islamic countries, especially in mosques, in spite of the fact that their use in spanning large gathering halls has become redundant. This is because something that had no ideological connection to Islam (and particularly not a transcendent one) became ingrained in the collective consciousness as an expression of the Islamic faith.
The same can be said of arches, which were originally devices for spanning openings in walls made of masonry units, like stone or bricks. The shape of the arch was quite often defined by technical necessity rather than ideology, which made its adoption across cultural boundaries easy. A good example is the so-called “Gothic” arch, which the architect Christopher Wren, and more recently, the author Diana Darke , have pointed out was introduced into Europe through Moorish Spain. The reason for its use in Medieval cathedrals was purely structural, as it allowed for building taller vaults than would be possible with the circular Roman arch. Today the pointed arch is largely associated with Gothic Architecture and the cathedrals of the late Medieval period. It’s uptake by another culture and the ease with which it was assimilated and used as a tool to communicate religious ideas associated with Christianity, shows that there was nothing exclusively Islamic in this architectural element to begin with. Today, the arch – whether round or pointed – is as redundant as the dome, but continues to be associated with the Islamic faith by the vast majority of Muslims.
The logical question here is that if these elements are not associated with the Islamic faith – and it is obvious that they are not – then what are the architectural forms that can be associated with it?
The answer to this question must come from an analysis of the principles of Islam and their potential manifestation in architectural form and practice. As discussed elsewhere , the central principles of Islam are Tawheed or Islamic Monotheism; Nabuwwah or Prophethood; and Qiyamah or The Day of Reckoning. These principles have specific social implications, which must be reflected in the architecture of an ideologically Islamic society.
For example, the central implication of Islamic Monotheism or Tawheed is that there should be no class discrimination, since all mankind are creation of the One God. Hence, a built structure can be termed Islamic only if it negates the notion of class distinction in every possible way. This means that when it comes to private dwellings, the form of these buildings must be such that the form itself does not create class distinction by being accessible only to those belonging to a certain social stratum. In other words, the architectural form of the building should not make the building exclusive and economically viable only for the wealthy. It should not become a status symbol on the basis of its form. Any man who has the means to build a house should be able to build it in that particular form. But when complex geometry and specialized structural forms come into play, they make the building form inaccessible for the common man.
So, the first parameter is that the building form must be simple – composed of basic volumes that may be constructed without resorting to specialized structural systems.
Based on the same argument, it may be stated that the use of expensive materials – either for construction or ornamentation – would also make the building form inaccessible to the majority and would therefore be contrary to the spirit of Islamic Monotheism. The argument of accessibility does not extend to the size of the building, since one man may have greater spatial needs than another as well as the means to fulfill those needs. But the architectural forms that are brought into the service of fulfilling those needs should be available in lesser or greater quantity to others as well.
Similarly, architectural ornamentation is not anathema to Islamic ideology, so long as this ornamentation does not create exclusivity, or becomes a means of dividing the society into various classes. If the form of ornamentation is not economically inaccessible to the majority, then it is not in opposition to the principle of Tawheed.
For public buildings, however, the formal simplicity may not be applicable, since the individuality of form does not translate into exclusion of certain groups of people or into social division, such that some people are able to access it, while others are excluded from it. Regardless of the uniqueness of the form, the public building is open for all. But the essential condition here remains the same – that it must be accessible to all and the form should not of its own create any hinderance in the way of inclusion. Hence, such a building would have to be accessible to the disabled or differently abled population.
Having said that, the argument for simple form for a public building can be built on the fact that a simple form allows for greater functional flexibility, making it possible for the public building to be used for a multiplicity of functions, depending on the need of the hour. Hence, it is not exclusive towards one particular function but inclusive of a variety of function and willing to accommodate change in subservience to the overarching goal of Islamic architecture – which is to become a vehicle for perfection of the individuals in a society. This flexibility of planning, which is the result of a generic “perfect scheme” is a transcendent quality of Islamic Architecture, and has been observed in many “Islamic” buildings.
Nabuwwah, or Prophethood, which is the second principle also has a social aspect, which is purification of man; the recognition of Truth (al-Haqq) by him; and directing his attention towards the vastness of this world and the next world. The recognition of Truth comes through awareness of one’s own infinite and eternal soul, that is transcendent and connected to the Divine. Islamic Architecture must also be transcendent and timeless in order to resonate with the soul and turn the gaze inward. It must be introverted for this same reason. Its “infiniteness” is due to the flexibility of planning, which allows it to accommodate several functions, as well as the ubiquitous and continually repetitive geometric patterns that appear as surface ornamentation in much of Islamic architecture, making it yet another example of the transcendent feature of the architecture, which manifests itself in various eras and across cultures.
Lastly, the principle of Qiyamah or reckoning is manifested in social accountability; respect for the environment; and respect for the rights of others. The latter includes the right to privacy, which is highly valued in Islamic societies. The form of a building may therefore be termed “Islamic” if it does not infringe on the privacy of neighbors. It should also be sensitive towards the environment and ecology, ensuring that existing trees and plants on the site, as well as the animal life that subsists on them, is protected to the extent possible. In terms of the use of materials also, the building should use environmentally responsible materials.
How does one take these ideas of simplicity, flexibility, purity, transcendence, timelessness, introversion etc., and begin to develop an architectural language out of them?
The emerging phenomenon of generative Artificial Intelligence (AI) may offer a viable solution. AI platforms like Midjourney, Stable Diffusion and Dall-E allow users to input text as prompts to generate images. The process by which images are generated is called diffusion. “Essentially, huge datasets are scraped together to train the AI, and through a technical process the AI is able to devise new content that resembles the training data but isn’t identical.” If the AI tool has seen millions of images tagged with the word “transcendent”, for example, it can put together pixels to form an image that is similar but not identical to those images. The word prompt can use a combination of words and phrases, such as a selection of adjectives that we may short-list to describe our notion of ideologically Islamic architecture. The AI tool would then create an image (it may or may not be something that corresponds to our definition of Architecture) that draws on images within its data set that were tagged with one or more of those words or phrases, in varying degrees. The generated images can be refined and tweaked by adjusting the input until one has what one feels best fits the prompt.
Of course, the process is neither as simple as it sounds, nor necessarily accurate or fruitful. It takes a lot of time to master the use of these tools, which also carry their own biases . Descriptors are very subjective, of course, and the AI output depends on what images in its data set have been tagged with a particular descriptor. So, for example, what I may consider to be “transcendent” or “timeless” or “simple” may be different from what someone else understands from these words. The accuracy of the output for me would therefore depend upon the how close my understanding of the terms is to that of the team training the AI tool.
But in spite of these challenges, AI image generators are useful tools in our search of a language for contemporary Islamic Architecture – a language that can convey the transcendent ideology of the faith – as opposed to one based on redundant elements or a transient culture.
The writer is an architect. He can be reached at zain.mankani@gmail.com
References
1. The Holy Quran, Ch.14, V.24-26. Translation by M. H. Shakir
2. Ayatullah Naser Makarem Shirazi et al, Tafseer-e-Namoona, exegesis of Ch.14, V.24-27.
3. Ibid.
4. Aqa Mahdi Puya, Commentary on The Holy Quran, Ch.14, V.24.
5. Diana Darke, Stealing from the Saracens: How Islamic Architecture Shaped Europe, Middle East Institute Publications, October 30, 2020: https://www.mei.edu/publications/stealing-saracens-how-islamic-architecture-shaped-europe
6. See ‘A Socio-political Perspective on Islamic Architecture’ Part I-V by this author, published in Archi Times.
7. Grube, Ernst J. “What is Islamic Architecture?” in Architecture of the Islamic World, edited by George Michell, (London: Thames and Hudson, Paperback Edition 2002), 12.
8. Laurie Clark, When AI can make art – what does it mean for creativity? in The Guardian, 12 November, 2022.
9. Ben Dreith, How AI software will change architecture and design, in Dezeen, 16 November, 2022.



