The Tree of Porphyry

The Ancient Roots of Modern User Interface Design

Christian R. Vozar
christianvozar
4 min readDec 13, 2016

--

As the builders of experiences that delight with code and pixel, we often use metaphors to visually represent abstract concepts and information to users. Metaphors are powerful because they relate an understood experience to the presented representation. One of the most commonly used metaphors for expressing hierarchical information is a tree. Trees are an experience nearly every human being has had, and their structure is intuitively understood by even the youngest of us.

The most commonly used tree metaphor, a tree of knowledge or lineage, is based on the Porphyrian tree. This ancient concept originates with Porphyry of Tyre, a philosopher who lived around 265 AD. In his writing “Isagoge,” an introduction to logic and philosophy, Porphyry introduced the Porphyrian tree, known in Latin as “scala praedicamentalis” or the “categorical scale.” This tree is a metaphorical representation of knowledge, organizing information into categories with dichotomous divisions.

The root of the tree, known as the “summum genus” (supreme genus), branches out into differentiae (differences), creating a hierarchical structure. Originally, this tree was meant to reorganize Aristotle’s categorization system, encompassing all human ideas. Throughout the medieval ages and the Renaissance, it became a standard for organizing logical taxonomies. For over 1500 years, students read “Isagoge,” resulting in the deep and lasting adoption of the concept for visually mapping taxonomies.

The Journey to Modern Computer Science

How did this ancient metaphor become so prolific within computer science? Fundamentally, digital systems are based on logic gates, and there are many ways of organizing and representing information. Data structures, such as dictionaries of indexes and tables or directed graph structures of vertices and edges, abound in computer science. However, trees are simple to model and are immediately relatable to users.

The Porphyrian tree’s intuitive structure makes it an ideal tool for organizing information hierarchically. This is why trees are commonly used in file systems, where folders contain subfolders and files in a nested structure. Users understand that information becomes more inclusive and less detailed as they move higher up the structure. This hierarchical organization helps users process information efficiently by allowing them to traverse and collapse branches of the tree, forming a simpler mental model.

Rendered Tree of Porphyria by Apple Finder

The Porphyrian tree’s influence is evident in various modern user interfaces. For instance, file systems in operating systems like Apple’s Finder or Windows Explorer utilize tree structures to represent files and folders. This visual representation allows users to navigate through their files intuitively, understanding the relationship between different levels of information.

The Porphyrian tree also finds its place in web design, where website navigation menus often use tree structures to organize content hierarchically. This helps users easily find the information they need by drilling down through categories. Content management systems, organizational charts, and decision trees are other examples where the tree metaphor is effectively used.

Artificial Intelligence

In modern AI and deep learning, tree structures play a crucial role in decision-making processes, particularly in decision trees and ensemble methods like Random Forests and Gradient Boosting Machines (GBMs). For instance, in a Random Forest, multiple decision trees are built during training, each tree constructed from a random subset of the data and features. Each node in a tree represents a decision point based on a specific feature threshold, leading to a branch where the data is split. These trees collectively form an ensemble model that averages the predictions from all trees to improve accuracy and reduce overfitting. In more advanced applications, such as hierarchical clustering in unsupervised learning, dendrograms (a type of tree structure) are used to represent the nested grouping of data points based on their similarity measures. This hierarchical approach allows for a more granular analysis of data patterns, facilitating tasks like anomaly detection, image segmentation, and natural language processing. The interpretability and hierarchical organization of tree-based models make them indispensable for understanding feature importance and model decision paths in complex AI systems.

Enduring

The Porphyrian tree, an ancient idea introduced by Porphyry of Tyre, has found its way through the ages into the standard lexicon of user interface design. Its ability to organize information hierarchically in a way that is intuitive and easy to understand has made it a staple in modern digital systems. As we continue to innovate and create new technologies, the Porphyrian tree will undoubtedly remain a fundamental tool for representing and navigating complex information, bridging the gap between ancient philosophy and contemporary user experience design.

By understanding the historical roots and modern applications of the Porphyrian tree, software architects and developers can leverage this powerful metaphor to create intuitive and effective user interfaces that stand the test of time.

This is a repost (slightly revised and updated) of a blog written for the Belly engineering blog, with permission.

--

--

Christian R. Vozar
christianvozar

Post-Modem Software, Digital Semiotics, Architecture @playstation