Machine Learning for OLED Device Design

Tutorial Created with Software Release: 2025-4
Topics: Machine Learning, Organic Electronics, Thin Film Processing
Methodology: Machine Learning
Products Used: MS Maestro, OLED Device ML

Tutorial files

59 MB

This tutorial is written for use with a 3-button mouse with a scroll wheel.
Words found in the Glossary of Terms are shown like this: Workspacethe 3D display area in the center of the main window, where molecular structures are displayed

 

Tip: You can hover over a glossary term to display its definition. You can click on an image to expand it in the page.
Abstract:

 

In this tutorial, we will learn to train a machine learning model to predict properties of OLED devices. We will subsequently apply this trained model to predict target properties for new OLED devices unseen during training.

 

Tutorial Content
  1. Introduction

  1. Creating Projects and Importing Structures

  1. Training a ML Model to Predict Properties of OLED Device

  1. Using a Pre-trained Model to Predict Properties of OLED Device

  1. Conclusion and References

  1. Glossary of Terms

1. Introduction

Organic Light-Emitting Diodes (OLED) are a class of optoelectronic devices that emit light in response to an electric current. They are widely used in display and lighting technologies due to their advantages such as high contrast ratios, wide viewing angles, low power consumption (for dark images), and the potential for flexible and transparent displays.

Figure 1. Schematic of a typical OLED device.

OLEDs operate based on electroluminescence. When a voltage is applied across the device, electrons and holes are injected from the cathode and anode into the organic layers. These charge carriers migrate through the transport layers until they recombine in the emission layer (EML) to form excitons. The subsequent radiative decay of these excitons results in light emission. The efficiency of this process depends on factors such as charge balance, exciton formation yield, and quantum yield of the emitter.

To improve performance, OLEDs typically employ a multilayer architecture with each layer serving a specific role:  .

  • Hole Injection Layer (HIL): This layer is positioned directly above the anode. The HIL facilitates efficient injection of holes into the neighboring hole transport layer (HTL).
  • Hole Transport Layer (HTL): This layer transports holes from the HIL toward the emission layer.
  • Emissive Layer (EML): The core layer where electrons and holes recombine to form excitons. The EML contains the emitter (fluorescent, phosphorescent, or TADF molecules) often dispersed in a host matrix. The choice of host and dopant affects color purity, efficiency, exciton dynamics, and device stability.
  • Electron Transport Layer (ETL): This layer assists in the movement of electrons from the cathode towards the EML.
  • Electron Injection Layer (EIL): Located adjacent to the cathode, the EIL improves electron injection by modifying the interface between the cathode and ETL, lowering the barrier for electron transfer.
  • Blocking Layers:
    • Hole Blocking Layer (HBL): Positioned between the EML and ETL, this layer prevents holes from leaking into the ETL, helping to confine excitons in the emission zone.
    • Electron Blocking Layer (EBL): Positioned between the HTL and EML, the EBL blocks electrons from leaking into the HTL, further promoting recombination within the EML.  

These layers can be tuned in terms of thickness, energy levels, mobility, compositions, and morphology to achieve optimal charge injection, transport, and recombination, thereby maximizing device efficiency and lifetime. Understanding the functions of these layers is crucial for comprehending how OLED devices operate and how their performance can be optimized (see References).

Despite significant advancements, OLED device performance is strongly influenced by both the device configuration and material composition. Machine Learning (ML) models present a powerful approach to OLED device design optimization. ML can be used to predict and optimize the blend ratios and thickness of different layers to achieve desired device properties like:

  • External quantum efficiency (EQE): Measures how efficiently the device converts electrical energy into usable light output. It's a key metric for assessing the overall performance and energy efficiency of an OLED device.
  • Electroluminescence maximum emission wavelength (λmax): Determines the specific color of light emitted by the OLED device, making it essential for tailoring devices for applications such as displays or lighting.
  • Operation lifetime: Refers to the durability and stability of the OLED device under continuous operation. This property gauges how long the device can maintain its performance, such as brightness and color accuracy, before degradation occurs. Optimizing operational lifetime is vital for ensuring reliable, long-lasting devices.

In this tutorial, we will utilize the OLED Device Machine Learning panel to predict OLED device properties. We will begin by importing device data, which includes layer composition and thickness specifications. Subsequently, we will train a ML model using the experimental data for λmax and assess its performance. We will use the trained model for prediction on a different dataset. The overall workflow is as follows:

Figure 2. Overall workflow of the OLED Device Machine Learning panel. The input CSV file containing the OLED device is inputted into the panel and used to train a ML model to predict OLED properties. The trained model is then used to predict properties of new OLED devices.

2. Creating Projects and Importing Structures

At the start of the session, change the file path to your chosen Working Directorythe location where files are saved in MS Maestro to make file navigation easier. Each session in MS Maestro begins with a default Scratch Projecta temporary project in which work is not saved, closing a scratch project removes all current work and begins a new scratch project, which is not saved. A MS Maestro project stores all your data and has a .prj extension. A project may contain numerous entries corresponding to imported structures, as well as the output of modeling-related tasks. Once a project is saved, the project is automatically saved each time a change is made.

Structures can be built in MS Maestro or can be imported using File > Import Structures (or drag-and-dropped), and are added to the Entry Lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion and Project Tabledisplays the contents of a project and is also an interface for performing operations on selected entries, viewing properties, and organizing structures and data. The Entry Lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion is located to the left of the Workspacethe 3D display area in the center of the main window, where molecular structures are displayed. The Project Tabledisplays the contents of a project and is also an interface for performing operations on selected entries, viewing properties, and organizing structures and data can be accessed by Ctrl+T (Cmd+T) or Window > Project Table if you would like to see an expanded view of your project data.

  1. Double-click the Materials Science icon

Figure 2-1. Change Working Directory option.

  1. Go to File > Change Working Directory
  2. Find your directory, and click Choose
  3. Pre-generated files are included for running jobs or examining output. Download the zip file here: schrodinger.com/sites/default/files/s3/release/current/Tutorials/zip/oled_ml.zip
  4. After downloading the zip file, unzip the contents in your Working Directorythe location where files are saved for ease of access throughout the tutorial

Figure 2-2. Save Project panel.

  1. Go to File > Save Project As
  2. Change the File name to oled_ml_tutorial, click Save
    • The project is now named oled_ml_tutorial.prj

3. Training an ML Model to Predict Properties of OLED Device

In this section, we will use the OLED Device Machine Learning panel to predict electroluminescence maximum emission wavelength (λmax) of OLED devices. 

Figure 3-1. Loading the training data.

  1. Go to Tasks > Materials > Informatics > OLED Device Machine Learning
  2. Click Load Training Data
  3. Navigate to the provided files, presumably in your working directory. Choose Section_03 > oled_ml_input.csv file and click Open
    • The panel is populated with the training data

Before we proceed, let’s understand the input data. The input data, supplied as a CSV file, defines individual OLED devices through their architectures and associated properties.

Each row in the input .csv file is an OLED device with different specifications. Device architectures are defined by layer types, thicknesses, and material composition (SMILES, % composition). The input data is organized into four primary column types:

 

  1. SMILES Columns:

These columns contain information about the layer type, the layer index and SMILES representation of the materials and the SMILES index. The column headers follow the format: {Layer_Type}_{Layer_index}_SMILES_{SMILES_index}.

  • Layer_Type specifies the layer's function (e.g., Emitter, HIL).
  • Layer_index indicates the layer's sequential order.
  • SMILES_index denotes the index of each component within that layer.

Multiple materials within a single layer are represented by sequential SMILES_index values (e.g., Emitter_0_SMILES_0, Emitter_0_SMILES_1). The emissive layer has a distinct structure compared to other layers. It is composed of two components: the "Host" material and the "Emitter" dopant material. The same indexing rules apply as with other layers, organizing the "Host" and "Emitter" information into separate columns.

An example structure is as follows:

 

  1. Composition Columns:

The composition of each layer is specified in the composition columns. The column headers follow the format: {Layer_Type}_{Layer_Index}_comp_{Component_Index}

In the above example, HIL has two components with 50% composition of each component. Composition columns should be explicitly defined when a layer comprises multiple materials. In the absence of such specification, a uniform composition of 100% is presumed. For the Emitter, we employ a unique composition specification that follows a different format: Emitter_{Layer_Index}_wt%_{Component_Index}

The associated Host_{Layer_Index} column does NOT require any wt% column

 

  1. Thickness Columns:

These columns specify the thickness of each individual layer. The column headers follow the format: {Layer_Type}_{Layer_Index}_thickness. An example structure is as follows:

For the emissive layer, the host material's thickness and the emitter material's composition are combined to define the layer.

 

  1. Property Columns:

These columns contain the experimentally measured properties of each OLED device, such as EQE and λmax.

The provided input file incorporates supplementary columns that specify the literature origin of the experimental data used.

Figure 3-2. Viewing device information.

The device information can be visualized in the panel. Layer names are assigned according to naming conventions mentioned above. The index "n" signifies the "nth" layer of a specific type within the device architecture.

 

A stacked layer visualization is generated, with layer colors assigned based on the layer names. The device representation includes numerical values for overall device thickness, total number of layers, and the number of material components within the device. The properties of each device are listed in the table.

 

Figure 3-3. Viewing the architecture of a device.

  1. Click on the arrow ()
    • The device expands to show more information. The composition and SMILES of each layer are shown with color coded bars. Recollapse dropdown by clicking the arrow again.

Figure 3-4. Editing options in the panel.

  1. To edit device configuration before training, click the eye () button. In this mode, you can edit the composition
    • Clicking it again saves any modifications to the loaded data. Please be aware that changes made here do not alter the original input CSV.
    • When the composition dropdown is open at the same time, you can click on any of the SMILES labels to see or edit the structure in 2D Sketcher.

Figure 3-5. Running the job.

  1. Go to the Build tab
  2. Choose Lambda(EL)[nm]_max as the Target property
  3. Change the Job name to oled_device_ml_train
  4. Adjust the job settings () as needed
    • This job requires a CPU host. The job will be completed in about 15 minutes on a CPU host
  5. If you would like to perform the calculation, click Run. Otherwise, we will import pre-generated results in the next step

Figure 3-6. Loading the ML model.

Upon completion of calculations, the results will be automatically integrated into the panel. Click OK in the popup window to incorporate the results.

  1. Go to the Performance tab
  2. Click Load Model
  3. Select the oled_device_ml_train.mlform entry and click OK
    • If you get a warning saying that the uploaded ML model was trained on an older version, feel free to click OK and proceed. If you wish to retrain the model, you can use the ML Model Manager panel.

Figure 3-7. Visualizing the results.

The plot contains predicted versus actual values from the train and test set, with corresponding R2 and RMSE values in a table below.

In this case, the model generalized well on the test set.

 

Figure 3-8. Loading the prediction dataset.

  1. Go to the Predict tab
  2. Click Load
  3. Navigate to the provided files and choose Section_03 > oled_device_ml_predict_input.csv file and click Open
    • The panel is populated with the prediction data

Figure 3-9. Running the job.

  1. Change the Job name to oled_device_ml_predict
  2. Adjust the job settings () as needed
    • This job requires a CPU host. The job will be completed in about 2 minutes on a CPU host

Figure 3-10. Loading the prediction output.

When the job is completed, there is a window asking to load the prediction results.

  1. Click OK

Figure 3-11. Comparing the prediction output.

The table displays the prediction results, which closely align with the experimental values.

4. Using a Pre-trained Model to Predict Properties of OLED Device

In this section, we will use a pre-trained model available within the OLED Device Machine Learning panel to predict the λmax of OLED devices.

Figure 4-1. Loading a pre-trained model and loading the prediction dataset.

  1. Use the reset button () to reset the panel
  2. Remain in the Predict tab
  3. From the drop-down option, choose Electroluminescence Maximum Peak Position (nm)
  4. Click Load Model
    • A pre-trained ML model is loaded into the panel. This model is trained on a larger dataset of approximately 2000 devices. Feel free to explore the results in the Performance tab.
    • A question could appear asking “This ML model was trained on an older version than the current one. Re-training the model is strongly recommended. Proceed anyway?” Click OK.
  5. Choose Prediction Input from the droop-down options
  6. Click Load
  7. Navigate to the provided files and choose Section_03 > oled_device_ml_predict_input.csv file and click Open

Figure 4-2. Running the job.

  1. Change the Job name to oled_device_ml_predict_pre_trained
  2. Adjust the job settings () as needed
    • This job requires a CPU host. The job will be completed in about 2 minutes on a CPU host

Figure 4-3. Comparing the results.

Upon job completion, the table is updated with the results. The predicted values closely match the experimental data.

5. Conclusion and References

This tutorial covered the training and application of machine learning models to predict OLED device properties, using λmax as an example. We performed predictions on a distinct dataset using both a newly trained model and a pre-trained model.

For further learning:

For introductory content, focused on navigating the Schrödinger Materials Science interface, an Introduction to Materials Science Maestro tutorial is available. Please visit the materials science training website for access to 100+ tutorials. For scientific inquiries or technical troubleshooting, submit a ticket to our Technical Support Scientists at help@schrodinger.com.

For self-paced, asynchronous, online courses in Materials Science modeling, including access to Schrödinger software, please visit the Schrödinger Online Learning portal on our website.

For some related practice, proceed to explore other relevant tutorials:

For further reading:

6. Glossary of Terms

Entry List - a simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion

Included - the entry is represented in the Workspace, the circle in the In column is blue

Project Table - displays the contents of a project and is also an interface for performing operations on selected entries, viewing properties, and organizing structures and data

Recent actions - This is a list of your recent actions, which you can use to reopen a panel, displayed below the Browse row. (Right-click to delete.)

Scratch Project - a temporary project in which work is not saved, closing a scratch project removes all current work and begins a new scratch project

Selected - (1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries

Working Directory - the location where files are saved

Workspace - the 3D display area in the center of the main window, where molecular structures are displayed